#-------------------------------------------------
#
# Project created by QtCreator 2017-01-09T09:26:35
#
#-------------------------------------------------

QT += network
QT       -= gui

TARGET = TamiServerSL
TEMPLATE = lib

DESTDIR += ../Out

DEFINES += TAMISERVERSL_LIBRARY

SOURCES += tamiserversl.cpp \
    tmsessionmanager.cpp \
    RobotDef.cpp \
    tmmediamanger.cpp

HEADERS += tamiserversl.h \
    tmsessionmanager.h \
    RobotDef.h \
    res.rc \
    tmmediamanger.h

unix {
    target.path = /usr/lib
    INSTALLS += target
}

RC_FILE += res.rc

# zeroc lib config
win32:CONFIG(release, debug|release): LIBS += -LC:/ZeroC/Ice-3.6.3/lib/vc140 -lice -licebox
else:win32:CONFIG(debug, debug|release): LIBS += -LC:/ZeroC/Ice-3.6.3/lib/vc140 -liced -liceboxd

INCLUDEPATH += C:/ZeroC/Ice-3.6.3/include
DEPENDPATH += C:/ZeroC/Ice-3.6.3/include

DISTFILES += \
    ../RobotDef.ice \
    SL.ico

#media lib
win32: LIBS += -L$$PWD/libMediaSDK/ -llibMediaPusher

INCLUDEPATH += $$PWD/libMediaSDK
DEPENDPATH += $$PWD/libMediaSDK

win32: LIBS += -L$$PWD/libMediaSDK/ -llibMediaCapture

INCLUDEPATH += $$PWD/libMediaSDK
DEPENDPATH += $$PWD/libMediaSDK

win32: LIBS += -L$$PWD/libMediaSDK/ -llibEasyPlayer

INCLUDEPATH += $$PWD/libMediaSDK
DEPENDPATH += $$PWD/libMediaSDK
